home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / fpc225_3.zip / F-PCHELP.ZIP / MULTASK.HLP < prev    next >
Text File  |  1987-12-19  |  1KB  |  31 lines

  1. \ MULTASK.HLP   Multi tasking help file
  2.  
  3. RESUME  turns on RES, which enables tracing to continue.
  4.  
  5. See BACKGROUND: and its shadow for spooler and counter tasks.
  6.  
  7. To enable spooler, once defined, type MULTI. MULTI starts the
  8. multi-tasker loop running. SINGLE stops it.
  9. Then type SPOOLER WAKE to start the spooler task.
  10. To put the spooler on hold, use  SPOOLER SLEEP
  11. To restart it, use SPOOLER WAKE
  12.  
  13. In general, executing the name of a task leaves the address of
  14. its user area on the stack. Words like sleep and wake use that
  15. address.
  16.  
  17. TASK:  Name, initialize, and allocate a new task.
  18.  Copy the USER Area.  I point to where he pointed.
  19.  He points to me.
  20.  Set initial stack pointers.
  21.  Set dictionary pointer.
  22.  Make task ready to execute. Allocate task in host dictionary.
  23. SET-TASK  assigns an existing task to the code at ip.
  24.  Get top of stack of the task to be used.
  25.  Put IP and RP values on its stack.
  26.  Set its saved stack pointer.
  27.  
  28. ACTIVATE  assigns an existing task to the following code,
  29.  and makes it ready to execute.
  30.  
  31.